// This file contain all the resets functions needed in the app //


function SceneReset(name,IdVideo){
	_count = 1;
	compteur= 0;
	type="";
	bubbledowndone = 0; //Variable utilisé pour vérifié sir les div de dialogue sont en display none ou non
	bubbletopdone = 0;
	if(name == "MapQueensPark"){
		scene = "1/MapQueensPark/1-a.json";
	}else{
		name = OnlyNumbers(name);
		scene = IdScene+"/"+name+"/"+name+"-a.json";
		alert('Scenereset  scene = '+scene);
	}	
	PosDialButton = -1;
	HideAllDisplay();
	StartingplayerScene(IdVideo);
	parsingjson();
}